package com.zbl.zblproject.member.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author youlanqiang
 * @version 1.0
 * @date 2019/3/27
 */
@TableName("zbl_member")
public class Member {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * openId
     */
    private String openId;

    /**
     * 电话号码
     */
    private String telephone;

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    private Integer integral;

    @Override
    public String toString() {
        return "Member{" +
                "id=" + id +
                ", openId='" + openId + '\'' +
                ", telephone='" + telephone + '\'' +
                ", integral=" + integral +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }


}
